package app

import (
	"github.com/ztx/payment_project/order/app/command"
	"github.com/ztx/payment_project/order/app/query"
)

type Application struct {
	Commands Commands
	Queries  Queries
}

type Commands struct { //操作指令集
	CreateOrder command.CreateOrderHandler
	UpdateOrder command.UpdateOrderHandler
}

type Queries struct { //读取数据指令集
	GetCustomerOrder query.GetCustomerOrderHandler
}
